package filter;

import org.apache.log4j.Logger;
import org.nutz.ioc.loader.annotation.IocBean;
import org.nutz.mvc.ActionContext;
import org.nutz.mvc.View;
/**
 * 这个类用于记录日志
 * @author lost
 *
 */
@IocBean
public class LogFilter implements GibbsFilter{
	public static final Logger logger = Logger.getRootLogger() ; 
	@Override
	public View filt(ActionContext context) {
		logger.info(context.getRequest().getRequestURI()) ;
		return null;
	}
}
